package com.example.mytestapplication

import android.app.Activity
import android.widget.Toast

class ToastTools(private val activity: Activity) {
//    private val mToast: Toast = Toast(activity)

    fun showToast(string: String) {
        val mToast = Toast.makeText(activity, string, Toast.LENGTH_SHORT)
        mToast.show()
    }
}